<!DOCTYPE html>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page autoFlush="true" contentType="text/html; UTF-8"  isELIgnored="false" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>医院信息管理系统</title>

	<link rel="Shortcut Icon" href="/favicon.ico" />
	<!-- load css -->
	<link rel="stylesheet" type="text/css" href="../common/layui/css/layui.css" media="all">
	<link rel="stylesheet" type="text/css" href="../backstage/css/login.css" media="all">
</head>
<body>
<div class="larry-canvas" id="canvas">
	<img src="../backstage/images/mainback.jpg" style="width: 100%;height: 100%;"/>
</div>
<div class="layui-layout layui-layout-login">
	<h1>
		 <strong>医院信息管理系统</strong>
		 <em>Management System</em>
	</h1>
	<form action="/user/login" method="post">
		<div class="layui-user-icon larry-login">
			<input type="text" placeholder="账号" class="login_txtbx" name="username"/>
		</div>
		<div class="layui-pwd-icon larry-login">
			<input type="password" placeholder="密码" class="login_txtbx" name="password"/>
		</div>
		<div class="layui-val-icon larry-login">
			<div class="layui-code-box">
				<input type="text" id="code" name="code" placeholder="验证码" maxlength="4" class="login_txtbx">
				<img id="img" style="width: 150px" src="/user/check.jpg" onclick="this.src='/user/check.jpg?rnd=' + Math.random();" alt="点击刷新验证码">
			</div>
		</div>
		<div class="layui-submit larry-login">
			<input type="submit" value="立即登陆" class="submit_btn"/>
		</div>
		<c:if test="${not empty msg}">
			<p style="text-align: center;color: red">${msg}</p>
		</c:if>

	</form>

</div>
<script type="text/javascript" src="../common/layui/layui.js"></script>
<script type="text/javascript" src="../common/js/jquery-1.12.4.min.js"></script>
<script type="text/javascript" src="../common/jsplugin/jparticle.jquery.js"></script>
<script type="text/javascript" src="../backstage/js/login.js"></script>
</body>
</html>